import request from '@/utils/request'
const baseUrl = '/api/kaoqin-wenjian'
export function getKaoqinWenjianPage(params) {
  return request({
    url: `${baseUrl}/page`,
    method: 'get',
    params
  })
}

export function getKaoqinWenjianById(id) {
  return request({
    url: `${baseUrl}/${id}`,
    method: 'get'
  })
}

export function saveKaoqinWenjian(data) {
  return request({
    url: `${baseUrl}/save`,
    method: 'post',
    data
  })
}

export function deleteKaoqinWenjian(id) {
  return request({
    url: `${baseUrl}/${id}`,
    method: 'delete'
  })
} 